package com.gupao.decorator.passport.decorator;

import com.gupao.decorator.passport.old.ISigninService;
import com.gupao.decorator.passport.old.ResultMsg;

/**
 * 继承自原来的老接口，相当于装饰器基类，只不过这里不是抽象类，而是接口
 */
public interface ISigninForThirdDecorator extends ISigninService {

    /**
     * QQ登录
     * @param openId
     * @return
     */
    ResultMsg loginForQQ(String openId);

    /**
     *记住登录状态后自动登录
     * @param token
     * @return
     */
    ResultMsg loginForToken(String token);


}
